@use './element/index.scss';

:root {
  --ep-color-background: var(--el-bg-color-page);
  --ep-color-text: black;
  //--ep-color-primary3: #646cff;
  --ep-color-primary-3-op: rgba(100, 108, 255, .1);
  --ep-color-primary4: #F31313;
  --ep-color-primary-4-op: rgba(243, 19, 19, 0.1);
  --ep-color-commom: #252631;
  //table头背景颜色
  --el-table-headers-bg-color:#f1f4f9;
  // 菜单选中背景颜色
  --el-menu-active-bg-color: var(--el-color-primary);
  // 菜单选中文字颜色
  --el-menu-active-color: var(--el-color-primary);
  // 菜单文字颜色
  --el-menu-text-color: var(--el-text-color-primary);
  // 鼠标置于菜单上文字颜色
  --el-menu-hover-text-color: var(--el-color-primary);
  // 菜单背景颜色
  --el-menu-bg-color: var(--el-fill-color-blank);
  // 鼠标置于菜单上背景色
  --el-menu-hover-bg-color: var(--el-color-primary-light-9);
}

:root.dark {
  --ep-color-background: var(--el-bg-color-page);
  --ep-color-text: white;
  --ep-color-primary3: #1762F2;
  --ep-color-primary4: #D34D25;
  --ep-color-commom: #ffffff;
  //table头背景颜色
  --el-table-headers-bg-color:#26262a;
  // 菜单选中背景颜色
  --el-menu-active-bg-color: var(--el-color-primary);
  // 菜单选中文字颜色
  --el-menu-active-color: var(--el-color-white);
  // 菜单文字颜色
  --el-menu-text-color: var(--el-text-color-primary);
  // 鼠标置于菜单上文字颜色
  --el-menu-hover-text-color: var(--el-color-primary);
  // 菜单背景颜色
  --el-menu-bg-color: var(--el-fill-color-blank);
  // 鼠标置于菜单上背景色
  --el-menu-hover-bg-color: var(--el-color-primary-light-9);
}
.el-table{
  .delAnim {

    transition: all 0.5s;
    opacity: 0;
    transform: translatex(320px);
  }
}

html {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0px;
  transition: color 0.5s, background-color 0.5s;
  line-height: 1.6;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
  Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  width: 100vw;
  height: 100vh;
  margin: 0 auto;
  font-weight: normal;
  overflow-x: hidden;
}

.left-tree-list {
  margin-top: 1px;

  .el-table {
    width: 100%;

    thead {
      display: none;
    }
  }
}

.el-card {
  box-shadow: none !important;
  border: none;
  //background: #00ff80;
}
.el-button{
  &:active{
    opacity: 0.7;
  }
}
.el-button--primary:hover {
  color: white;
  color: var(--el-color-primary);
  background: var(--ep-color-primary3Op);
}

.el-button.is-plain {
  background: var(--ep-color-primary3Op);
  border-color: var(--el-color-primary);
  color: var(--el-color-primary);
}

.el-button--danger.is-plain {
  background: var(--ep-color-primary4op);
  border-color: var(--ep-color-primary4);
  color: var(--ep-color-primary4);
}
.operationList{
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.el-table {
  width: 100%;
  // border: none !important;

  .el-table__cell {
    text-align: center;
  }
  .el-button{
    border: none;
    background: none;
  }

  .el-input {
    width: 60%;
  }
}

.el-form {
  margin-left: 50px;
  margin-right: 80px;
}

.el-form-item__content > div:first-child {
  width: 100%;
}

.icon {
  width: 16px;
  height: 16px;
  padding: 8px;
  vertical-align: middle;
}

.filter-container {
  // position: relative;
  // width: 1400px;
  // height: 40px;
  // overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  .btnBox {
    z-index: 99;
    // position: absolute;
    top: 0;
    right: -220px;
    display: flex;
    align-items: center;


  }

  .filter-item {
    margin-right: 10px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;

    .el-checkbox-group {
      display: inline-flex !important;
    }
  }

  .filter-item > span:first-child {
    font-size: 14px;
    //margin: 0 12px;
    margin-right: 12px;
  }

  .filter-item > div:first-of-type {
    width: 200px;
  }

  .filter-item:not(.el-button) {
    margin-right: 30px;
  }

}

.header-cell {
  // background: var(--el-color-bg);
  background-color:var(--el-table-headers-bg-color) !important;
  color: var(--el-text-color-primary);
font-weight: 500 !important;
  // border-top: 3px solid var(--el-color-primary);
}

.el-dialog {
  border-radius: 10px !important;
}

.dialog-title .el-dialog__header {
  border-radius: 10px 10px 0 0;
  margin-right: 0px;
  display: flex;
  justify-content: center;
  border-bottom: 1.5px solid var(--el-color-primary);
  margin-bottom: 18px;

  .el-dialog__title {
    color: var(--el-color-primary);
  }

}

.tox-tinymce-aux {
  z-index: 10000 !important;
}

